#define _CRT_SECURE_NO_WARNINGS

int main()
{
	int arr1[10] = { 1,2,3,0,0,0,0 };
    int arr2[10] = { 2,5,6 };
    merge2(arr1, 10, 3, arr2, 10, 3);
	//reverse(arr, 0, 6);
	int n = 7;
	int k = 15;
	k = k % n;
    for (n = 0; n < 6; n++)
    {
	printf("%d", arr1[n]);
    }

	return 0;
}




